home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / utility / mu17_ext.zip / MULTIUSE.H < prev    next >
C/C++ Source or Header  |  1994-03-07  |  2KB  |  63 lines

  1. #ifndef CLIB_MULTIUSER_PROTOS_H
  2. #define CLIB_MULTIUSER_PROTOS_H
  3. /*
  4. **      $VER: multiuser_protos.h 39.10 (21.11.93)
  5. **      MultiUser Release 1.6
  6. **
  7. **      C prototypes.
  8. **
  9. **      (C) Copyright 1993-1994 Geert Uytterhoeven
  10. **          All Rights Reserved
  11. */
  12.  
  13. #ifndef LIBRARIES_MULTIUSER_H
  14. #include <libraries/multiuser.h>
  15. #endif
  16.  
  17. ULONG muLogoutA(struct TagItem *taglist);
  18. ULONG muLogout(ULONG tag1type,...);
  19. ULONG muLoginA(struct TagItem *taglist);
  20. ULONG muLogin(ULONG tag1type,...);
  21. ULONG muGetTaskOwner(struct Task *task);
  22. BOOL muPasswd(STRPTR oldpwd, STRPTR newpwd);
  23. struct muUserInfo *muAllocUserInfo(void);
  24. void muFreeUserInfo(struct muUserInfo *info);
  25. struct muUserInfo *muGetUserInfo(struct muUserInfo *info, ULONG keytype);
  26. BOOL muSetDefProtectionA(struct TagItem *taglist);
  27. BOOL muSetDefProtection(ULONG tag1type,...);
  28. ULONG muGetDefProtection(struct Task *task);
  29. BOOL muSetProtection(STRPTR name, LONG mask);
  30. BOOL muLimitDOSSetProtection(BOOL flag);
  31. BOOL muCheckPasswd(struct TagItem *taglist);
  32. BOOL muCheckPasswdTagList(struct TagItem *taglist);
  33. BOOL muCheckPasswdTags(ULONG tag1type,...);
  34. BPTR muGetPasswdDirLock(void);
  35. BPTR muGetConfigDirLock(void);
  36. struct muExtOwner *muGetTaskExtOwner(struct Task *task);
  37. void muFreeExtOwner(struct muExtOwner *owner);
  38. ULONG muGetRelationshipA(struct muExtOwner *user, ULONG owner,
  39.                          struct TagItem *taglist);
  40. ULONG muGetRelationship(struct muExtOwner *user, ULONG owner,
  41.                         ULONG tag1type,...);
  42. struct muExtOwner *muUserInfo2ExtOwner(struct muUserInfo *info);
  43. struct muGroupInfo *muAllocGroupInfo(void);
  44. void muFreeGroupInfo(struct muGroupInfo *info);
  45. struct muGroupInfo *muGetGroupInfo(struct muGroupInfo *info, ULONG keytype);
  46. BOOL muAddMonitor(struct muMonitor *monitor);
  47. void muRemMonitor(struct muMonitor *monitor);
  48. BOOL muKill(struct Task *task);
  49. BOOL muFreeze(struct Task *task);
  50. BOOL muUnfreeze(struct Task *task);
  51.  
  52.  
  53.   /*
  54.    *     Private functions
  55.    *
  56.    *     Do NOT call them!!
  57.    */
  58.  
  59. BOOL muFSRendezVous(void);
  60.  
  61.  
  62. #endif  /* CLIB_MULTIUSER_PROTOS_H */
  63.